package com.qfedu.common.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 以梦为马，以汗为泉，不忘初心，不负韶华
 *
 * @author zqh (ZQH)
 * @version 1.0
 * @date 2025/6/16 17:47
 */
/**
 * 积分规则实体类
 */
@Data
@TableName("point_rule")
public class PointRule {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer pointType;
    private Integer point;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}